import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const routes = [
  // {
  //   path: "/",
  //   name: "ApprovalList",
  //   meta: {
  //     title: "审批列表",
  //   },
  //   component: () =>
  //     import(
  //       /* webpackChunkName: "ApprovalList" */ "../views/approval/approvalList.vue"
  //     ),
  //   // redirect: "",
  // },
  // {
  //   path: "/approval-detail",
  //   name: "ApprovalDetail",
  //   meta: {
  //     title: "审批详情",
  //   },
  //   component: () =>
  //     import(
  //       /* webpackChunkName: "ApprovalDetail" */ "../views/approval/approvalDetail.vue"
  //     ),
  // },
  {
    path: "/",
    name: "ChatGpt",
    meta: {
      title: "ChatGpt",
    },
    component: () =>
      import(/* webpackChunkName: "BillList" */ "../views/ChatGpt/index.vue"),
    // redirect: "",
  },
];

const router = new VueRouter({
  mode: "history",
  // base: "/frdist", //process.env.BASE_URL,
  routes,
});

export default router;
